package com.ctshk.common.enums;

import com.ctshk.common.constant.ErrCode;

/**
 * @author 谢诗宏
 * @description 统一异常码
 * @date 2020/12/10
 */
public enum SystemError implements ErrCode {
    SYS_500(500, "服务器出错了！"),
    SYS_502(502, "系统维护中"),
    SYS_503(503, "未找到[%s]微服务,请检查服务是否可用"),
    SYS_504(504, "未找到微服务"),

    SYS_400(400, "错误的请求"),
    SYS_401(401, "没有权限"),
    SYS_402(402, "参数不完整"),
    SYS_404(404, "Not Found"),
    SYS_405(405, "签名错误"),
    SYS_406(406, "请先登录"),
    SYS_407(407, "请求过于频繁"),
    SYS_408(408, "请求超时,请稍后重试"),
    SYS_409(409, "缺少请求参数[%s]"),
    SYS_410(410, "请求方式错误"),
    SYS_411(411, "当前数据不存在"),
    SYS_412(412, "id必传"),
    SYS_413(413, "此币种代码或名称已存在"),
    SYS_414(414, "此住房类型名称或编号已存在"),
    SYS_415(415, "第三方接口返回失败"),
    SYS_416(416, "请求参数为null"),
    SYS_417(417, "主数据请求异常"),
    SYS_418(418, "请求参数[%s]格式错误"),
    SYS_419(419, "系统通知服务异常"),
    SYS_420(420, "非法用户,用户没有部门"),
    SYS_421(421, "该机场在主数据中已经存在"),
    SYS_422(422, "审批服务异常"),
    SYS_423(423, "数据已删除"),
    SYS_424(424, "用户服务异常"),
    SYS_425(425, "读取阿里OSS服务异常"),
    SYS_426(426, "阿里OSS服务异常,不存在的key"),
    SYS_427(427, "阿里OSS服务异常,上传文件失败"),
    SYS_428(428, "参数：[%s]内容为空"),
    SYS_429(429, "邮件发送失败"),
    SYS_430(430, "校验失败：[%s]"),
    SYS_431(431, "微服务：[%s] 请求失败"),
    SYS_432(432, "[%s]在數據庫存在重複數據"),
    SYS_433(433, "操作失败,[%s]"),
    SYS_434(434, "时间格式错误,[%s]"),
    SYS_435(435, "验证码有误，请重新输入"),
    SYS_436(436, "下单短信发送失败"),
    SYS_437(437, "操作失败"),
    SYS_438(438, "年龄存在重叠"),
    SYS_439(439, "微服务：[%s] 请求失败,[%s]"),
    SYS_440(440, "年齡區間已存在"),
    SYS_441(441, "无权限，或不为最小功能页"),
    SYS_442(442, "修改功能页类型失败"),
    SYS_443(443, "无法删除有效的菜单"),
    SYS_444(444, "存在未完成的积分交易"),
    SYS_445(445, "該交易已經被創建併成功處理，不能重複創建！"),


    /**
     * 用户相关异常--1000起
     */
    USER_1000(1000, "未登录"),
    USER_1001(1001, "没有权限"),
    USER_1002(1002, "用户不存在"),
    USER_1003(1003, "密碼輸入錯誤，您還有%s次輸錯機會"),
    USER_1004(1004, "密碼輸入錯誤次數過多，系統已自動鎖定，請聯繫管理員解鎖"),
    USER_1005(1005, "驗證碼已過期，請刷新驗證碼"),
    USER_1006(1006, "驗證碼輸入錯誤，請重新輸入"),
    USER_1007(1007, "請輸入驗證碼"),
    USER_1008(1008, "生成token失败"),
    //前端会弹token失效窗口
    USER_1009(1009, "token失效"),
    USER_1010(1010, "您的密碼已過期，請重新設置密碼在登錄"),
    USER_1011(1011, "舊密碼輸入錯誤"),
    USER_1012(1012, "兩次密碼不一致"),
    USER_1013(1013, "新密碼不能與舊密碼相同"),
    USER_1014(1014, "重置密碼失敗"),
    USER_1015(1015, "用戶信息解析失敗"),
    USER_1016(1016, "邮箱验证码过期"),
    USER_1017(1017, "邮箱验证码错误"),
    USER_1018(1018, "短信驗證碼錯誤"),
    USER_1019(1019, "獲取短信驗證碼頻繁"),
    USER_1020(1020, "用戶註冊失敗"),
    USER_1021(1021, "错误验证码类型"),
    USER_1022(1022, "不正确的密码格式"),
    USER_1023(1023, "您的账户在其他地方登录,如非本人操作,请及时修改密码"),
    USER_1024(1024, "獲取邮件驗證碼頻繁"),
    USER_1025(1025, "key不存在或失效"),
    USER_1026(1026, "密码和最近三次密码相同,请重新修改"),
    USER_1027(1027, "重复的证件资料,[%s]"),
    USER_1028(1028, "appkey不存在或已失效"),
    USER_1029(1029, "当前号码，已注册"),
    USER_1030(1030, "短信驗證碼过期"),
    USER_1031(1031, "短信驗證碼错误或者已失效"),
    USER_1032(1032, "token失效"),
    /**
     * 系统相关异常--2000起
     */
    SYSTEM_2000(2000, "请选择自定义权限范围"),

    SYSTEM_2010(2010, "此数据下存在有效的子数据,请先删除或无效花子数据再操作！"),

    SYSTEM_2100(2100, "查询CRM会员信息异常"),
    SYSTEM_2101(2101, "查询不到CRM会员信息"),
    SYSTEM_2102(2102, "CRM会员账号未激活"),
    SYSTEM_2103(2103, "查询会员的类型不可识别，1-手机号码查询，2-证件资料查询"),
    SYSTEM_2104(2104, "CRM会员卡号不存在"),
    SYSTEM_2105(2105, "部门编码已存在"),
    SYSTEM_2106(2106, "menuId不能为空"),
    SYSTEM_2107(2107, "该公司类型和业务类型没有匹配的派单规则"),
    SYSTEM_2108(2108, "编码已经存在"),
    SYSTEM_2109(2109, "上级不存在"),
    SYSTEM_2110(2110, "新增失败"),
    SYSTEM_2111(2111, "新增失败,父级不存在"),
    SYSTEM_2112(2112, "新增失败,父子级关系隔代"),
    SYSTEM_2113(2113, "缺失的顶层ID"),

    /**
     * 定制包相关异常--3000起
     */
    CUSTOM_3000(3000, "该询价单不存在"),
    CUSTOM_3001(3001, "询价单状态异常"),
    CUSTOM_3002(3002, "询价单尚未上传文件"),
    CUSTOM_3004(3002, "文件下载失败"),
    CUSTOM_3005(3005, "该报价单不存在"),
    CUSTOM_3006(3006, "该团期不存在"),
    CUSTOM_3007(3007, "团期保险计划不存在"),
    CUSTOM_3008(3008, "团期签证不存在"),
    CUSTOM_3009(3009, "团期或旅客类型不存在"),
    CUSTOM_3010(3010, "团期线下渠道明细不能为空"),
    CUSTOM_3011(3011, "出发时间已过，不能购买"),
    CUSTOM_3012(3012, "团期状态异常"),
    CUSTOM_3013(3013, "出发时间已过，请重新设定"),
    CUSTOM_3014(3014, "出发时间得在询价截止日期之后"),
    CUSTOM_3015(3015, "最小定金超过用户需付金额"),
    CUSTOM_3016(3016, "该团期不需要茶会"),
    CUSTOM_3017(3017, "已锁定或已完团的团期不可添加旅客"),
    CUSTOM_3018(3018, "团期不存在或未设置渠道"),


    /**
     * 工作流异常
     */
    WORK_FLOW_4001(4001, "审批状态必须为'审批中'才可审批"),
    WORK_FLOW_4002(4002, "审批状态异常"),

    /**
     * 定制包团订单相关异常--34000起
     */
    CUSTOM_ORDER_4000(34000, "总实收大于0的订单，不能取消"),
    CUSTOM_ORDER_4001(34001, "该旅客不存在"),
    CUSTOM_ORDER_4002(34002, "该旅客已被锁定"),
    CUSTOM_ORDER_4003(34003, "旅客姓名不能为空"),
    CUSTOM_ORDER_4004(34004, "當前輸入的出生日期不符合所選旅客類型，請重新輸入！"),
    CUSTOM_ORDER_4005(34005, "引用全部时，紧急联系人不能为空"),
    CUSTOM_ORDER_4006(34006, "该旅客已付过款，不能删除"),
    CUSTOM_ORDER_4007(34007, "该旅客类型人数已达上限"),
    CUSTOM_ORDER_4008(34008, "该订单不存在"),
    CUSTOM_ORDER_4009(34009, "收款金额已超过该订单未收金额"),
    CUSTOM_ORDER_4010(34010, "该用户已申请折扣，请勿重复申请"),
    CUSTOM_ORDER_4011(34011, "只有审批不通过的折扣，才能编辑"),
    CUSTOM_ORDER_4012(34012, "该折扣记录不存在"),
    CUSTOM_ORDER_4013(34013, "只有审批不通过的折扣，才能删除"),
    CUSTOM_ORDER_4014(34014, "不允许重复退保险"),
    CUSTOM_ORDER_4015(34015, "不允许重复退签证"),
    CUSTOM_ORDER_4016(34016, "退款金额不能大于实收金额或可退款项金额"),
    CUSTOM_ORDER_4017(34017, "收据json为空"),
    CUSTOM_ORDER_4018(34018, "收据状态异常"),
    CUSTOM_ORDER_4019(34019, "该收据已打印，请勿重复操作"),
    CUSTOM_ORDER_4020(34020, "導入錯誤，數據不匹配"),
    CUSTOM_ORDER_4021(34021, "该数据状态异常"),
    CUSTOM_ORDER_4022(34022, "所选旅客没有签证记录"),
    CUSTOM_ORDER_4023(34023, "该保单不存在"),
    CUSTOM_ORDER_4024(34024, "该收据不存在"),
    CUSTOM_ORDER_4025(34025, "优惠无法兑换"),
    CUSTOM_ORDER_4026(34026, "保险服务调用异常"),
    CUSTOM_ORDER_4027(34027, "该保单已购买，请勿重复操作"),
    CUSTOM_ORDER_4028(34028, "该保险不存在"),
    CUSTOM_ORDER_4029(34029, "请选择未买过保险的旅客"),
    CUSTOM_ORDER_4030(34030, "运营中心服务调用异常"),
    CUSTOM_ORDER_4031(34031, "下单旅客类型:[%s] 人数已达上限"),
    CUSTOM_ORDER_4032(34032, "套餐总金额不能低于最低金额"),
    CUSTOM_ORDER_4033(34033, "团期总人数不能低于已下单人数"),
    CUSTOM_ORDER_4034(34034, "已有收款订单不能取消"),
    CUSTOM_ORDER_4035(34035, "只有审批中的折扣才能通过"),
    CUSTOM_ORDER_4036(34036, "该旅客自行办理签证"),
    CUSTOM_ORDER_4037(34037, "该旅客签证记录不存在"),
    CUSTOM_ORDER_4038(34038, "出签状态异常"),
    CUSTOM_ORDER_4039(34039, "证件未收齐"),
    CUSTOM_ORDER_4040(34040, "保单收据不可作废"),
    CUSTOM_ORDER_4041(34041, "该收据已作废，请勿重复操作"),
    CUSTOM_ORDER_4042(34042, "旅客：[%s] 首次收款金额不能小於HKD [%s] (金额)"),
    CUSTOM_ORDER_4043(34043, "旅客：[%s] 实收金额大於0，不能使用银行优惠"),
    CUSTOM_ORDER_4044(34044, "发起审批失败"),
    CUSTOM_ORDER_4045(34045, "只有申请人才有权限撤回"),
    CUSTOM_ORDER_4046(34046, "只有审批中状态的审批才能撤回"),
    CUSTOM_ORDER_4047(34047, "该收款记录不存在"),
    CUSTOM_ORDER_4048(34048, "只有审核中状态的收款才能审核"),
    CUSTOM_ORDER_4049(34049, "该退款记录不存在"),
    CUSTOM_ORDER_4050(34050, "该证件已过期"),
    CUSTOM_ORDER_4051(34051, "重印收据不能修改抬头"),
    CUSTOM_ORDER_4052(34052, "退款金额不能大于实收金额"),
    CUSTOM_ORDER_4053(34053, "该旅客已有退团申请记录，请勿重复操作"),
    CUSTOM_ORDER_4054(34054, "该旅客已被锁定"),
    CUSTOM_ORDER_4055(34055, "订单已超时，请重新下单"),
    CUSTOM_ORDER_4056(34056, "该订单还没有旅客"),
    CUSTOM_ORDER_4057(34057, "旅行团订单-调整项目：请勿重复调整"),

    /**
     * 系列团业务 30001
     */
    TOUR_N_ORDER(30001, "可收客数大于最大成团人数，不可下单"),
    TOUR_Y_ORDER(30002, "可收客数小于最大成团人数，已下单"),
    TOUR_N_RULE(30003, "未查询到团设置规则，不可下单"),
    HTML_TO_PDF_FAILED(30004, "PDF转换失败"),

    TOUR_ORDER_ERROR(30005, "已收客数不能为0"),
    TOUR_ORDER_30006(30006, "旅游团订单不存在或已失效"),
    TOUR_ORDER_30007(30007, "旅游团订单已支付，请勿重复支付"),
    TOUR_ORDER_30008(30008, "行程码已存在"),
    TOUR_ORDER_30009(30009, "查询类型必须为，1：自营；2：代理商；"),
    TOUR_ORDER_30010(30010, "支付失败，输入收款总金额与总应收金额不一致"),
    TOUR_ORDER_30011(30011, "支付失败，供应商订单不通过"),
    TOUR_30011(30011, "未设置成本，无法设置为有效"),
    TOUR_30012(30012, "行程不存在,请检查行程有效性"),
    TOUR_30013(30013, "旅行团分组缓存不存在"),
    TOUR_ORDER_30014(30014, "该订单不可取消"),
    TOUR_ORDER_30015(30015, "该订单已支付，请勿重复操作"),
    TOUR_ORDER_30016(30016, "支付已超时"),
    TOUR_ORDER_30017(30017, "订单未支付"),
    TOUR_ORDER_30018(30018, "该折扣记录不存在"),
    TOUR_ORDER_30019(30019, "该退团记录不存在"),
    TOUR_ORDER_30020(30020, "%s小童/婴儿不能与 %s成人/长者同行"),
    TOUR_ORDER_30021(30021, "团期id不存在"),
    TOUR_ORDER_30022(30022, "该用户未申请退团"),
    TOUR_ORDER_30023(30023, "该退团申请未通过"),
    TOUR_ORDER_30024(30024, "审批通过才能操作退款"),
    TOUR_ORDER_30025(30025, "该旅客已被锁定，不能编辑资料"),
    TOUR_ORDER_30026(30026, "只有会员才能使用优惠"),
    TOUR_ORDER_30027(30027, "退款金额不能超过最大可退款金额"),
    TOUR_ORDER_30028(30028, "该团期不存在"),
    TOUR_ORDER_30029(30029, "该团期剩余位数不足，不能下单"),
    TOUR_ORDER_30030(30030, "用户id为空或不存在，无法使用积分"),
    TOUR_ORDER_30031(30031, "会员积分不足"),
    TOUR_ORDER_30032(30032, "商品价格发生变化，请返回商品详情页重新下单"),
    TOUR_ORDER_30033(30033, "存在不支持的旅客类型"),
    TOUR_ORDER_30034(30034, "行程已失效"),
    TOUR_ORDER_30035(30035, "下单失败"),
    TOUR_ORDER_30036(30036, "请选择退款原因"),
    TOUR_ORDER_30037(30037, "行程晚数不能为空"),
    TOUR_ORDER_30038(30038, "提交订单失败,定时任务异常"),
    TOUR_ORDER_30039(30039, "分組下面有旅客不能刪除!"),
    TOUR_ORDER_30040(30040, "旅行团支付超时订单解除锁位出现异常"),
    /**
     * 运营中心业务 40001起
     */
    IOTC_40001(40001, "活动ID已存在，不可重复"),
    IOTC_40002(40002, "活动ID不存在！"),
    IOTC_40003(40003, "优惠活动结束"),
    IOTC_40004(40004, "不可使用"),
    IOTC_40005(40005, "银联优惠退回失败！"),
    IOTC_40006(40006, "推广码优惠退回失败！"),
    IOTC_40007(40007, "银联优惠扣除失败！"),
    IOTC_40008(40008, "推广码优惠扣除失败！"),
    IOTC_40009(40009, "没有查询到数据"),
    IOTC_400010(400010, "无效的"),
    IOTC_400011(400011, "不在有效期"),
    IOTC_400012(400012, "不在活动周期"),
    IOTC_400013(400013, "优惠名额不足"),
    IOTC_400014(400014, "不符合满减金额"),
    IOTC_400015(400015, "活动金额不足"),
    IOTC_400016(400016, "不适用的产品"),
    IOTC_400017(400017, "不在优惠对象中"),
    IOTC_400018(400018, "不在指定的渠道"),
    IOTC_400019(400019, "不适用当前部门"),
    IOTC_400020(400020, "不适用的业务类型"),
    IOTC_400021(400021, "卡号不在指定范围"),
    IOTC_400022(400022, "依赖的HKD币种无效或不存在"),
    IOTC_400023(400023, "银行大客户可用挂账金额不足"),
    IOTC_400024(400024, "数据错误，请检查"),
    IOTC_400025(400025, "请选择适用产品"),

    /**
     * 导领中心业务 40001起
     */
    GUIDE_41001(41001, "排班失败"),
    GUIDE_41002(41002, "排班成功"),
    GUIDE_41003(41003, "失败，请取消该导领的任务"),
    GUIDE_41004(41004, "失败，导领离职生效时间后不能有任务"),
    GUIDE_41005(41005, "不能存在重复的领队编号"),
    GUIDE_41006(41006, "操作失败"),
    GUIDE_41007(41007, "存在证件失效的领队或导领"),
    GUIDE_41008(41008, "没有空闲的领队或导游"),
    GUIDE_41009(41009, "该团已有茶会"),
    GUIDE_410010(410010, "该团已有团详情"),
    GUIDE_410011(410011, "排班失败，最大工作日超过合约日期"),
    GUIDE_410012(410012, "修改失败，没有找到这个团"),
    GUIDE_410013(410013, "重复的证件"),

    /**
     * 机场快线业务 50000起
     */
    AIREXPRESS_50000(50000, "加幅策略有效期的开始时间必须小于结束时间."),
    AIREXPRESS_50001(50001, "加幅策略有效期的时间段不能重叠"),
    AIREXPRESS_50002(50002, "开始日期不能小于当前日期"),
    AIREXPRESS_50003(50003, "四种渠道至少应有一个类型不为空"),
    AIREXPRESS_50004(50004, "机场快线产品不存在"),
    AIREXPRESS_50005(50005, "机场快线产品手续费设置异常"),
    AIREXPRESS_50006(50006, "机场快线API初始化手续费设置异常"),
    AIREXPRESS_50007(50007, "机场快线产品名称异常"),
    AIREXPRESS_50008(50008, "代理商ID不存在"),
    AIREXPRESS_50009(50009, "缓存删除失败"),
    AIREXPRESS_50010(50010, "渠道id不能为空"),
    AIREXPRESS_50011(50011, "该渠道下没有查询到产品"),
    AIREXPRESS_50012(50012, "剩余票数key不存在"),
    AIREXPRESS_50013(50013, "机票剩余票数不足"),
    AIREXPRESS_50014(50014, "操作失败,未能获取到剩余票数"),
    AIREXPRESS_50015(50015, "机场快线产品已下架"),
    AIREXPRESS_50016(50016, "机场快线产品设置的线下自营-加幅规则不能为空"),
    AIREXPRESS_50017(50017, "机场快线产品设置的线下代理-加幅规则不能为空"),

    /**
     * 机场快线订单业务 60000起
     */
    AIREXPRESS_ORDER_60000(60000, "余票不足."),
    AIREXPRESS_ORDER_60001(60001, "当前时间超过支付期限时间."),
    AIREXPRESS_ORDER_60002(60002, "订单不存在."),
    AIREXPRESS_ORDER_60003(60003, "获取汇率失败."),
    AIREXPRESS_ORDER_60004(60004, "支付价格不能小于应收价格."),
    AIREXPRESS_ORDER_60005(60005, "退款记录不能为空."),
    AIREXPRESS_ORDER_60006(60006, "付款状态值异常."),
    AIREXPRESS_ORDER_60007(60007, "订单金额减去抵扣后，应收金额为负数."),
    AIREXPRESS_ORDER_60008(60008, "会员积分不足."),
    AIREXPRESS_ORDER_60009(60009, "查询CRM会员积分异常."),
    AIREXPRESS_ORDER_60010(60010, "订单已付款，不允许修改联系人信息"),
    AIREXPRESS_ORDER_60011(60011, "订单取消状态为审批成功，才可以做确认退款操作."),
    AIREXPRESS_ORDER_60012(60012, "订单退款记录状态为审批成功，才可以做确认退款操作."),
    AIREXPRESS_ORDER_60013(60013, "审批失败状态的退款记录才可以删除."),
    AIREXPRESS_ORDER_60014(60014, "收款记录不存在."),
    AIREXPRESS_ORDER_60015(60015, "收款记录必须是驳回状态，才能再次确认."),
    AIREXPRESS_ORDER_60016(60016, "机场快线产品不存在."),
    AIREXPRESS_ORDER_60017(60017, "创建港铁订单异常."),
    AIREXPRESS_ORDER_60018(60018, "校验银行优惠不满足条件."),
    AIREXPRESS_ORDER_60019(60019, "汇率不能为空"),
    AIREXPRESS_ORDER_60020(60020, "实收金额不能小于0."),
    AIREXPRESS_ORDER_60021(60021, "使用的会员积分必须大于0."),
    AIREXPRESS_ORDER_60022(60022, "该机场快线已禁售."),
    AIREXPRESS_ORDER_60023(60023, "正在取消订单，请勿重复提交."),
    AIREXPRESS_ORDER_60024(60024, "该订单不满足使用条件."),
    AIREXPRESS_ORDER_60025(60025, "使用了会员积分或优惠券，无法使用银联优惠."),
    AIREXPRESS_ORDER_60026(60026, "该订单不存在收据."),
    AIREXPRESS_ORDER_60027(60027, "订单的取消状态不是审批中，无法进行审批."),
    AIREXPRESS_ORDER_60028(60028, "订单没有退款记录."),
    AIREXPRESS_ORDER_60029(60029, "币种不能为空."),
    AIREXPRESS_ORDER_60030(60030, "产品列表不能为空."),
    AIREXPRESS_ORDER_60031(60031, "策略名称不能为空."),
    AIREXPRESS_ORDER_60032(60032, "策略日期不能为空."),
    AIREXPRESS_ORDER_60033(60033, "查询供应商失败."),
    AIREXPRESS_ORDER_60034(60034, "机场快线初始化设置还未初始化."),
    AIREXPRESS_ORDER_60035(60035, "审批的金额不能大于可退金额."),
    AIREXPRESS_ORDER_60036(60036, "审批的退款金额记录不能为空."),
    AIREXPRESS_ORDER_60037(60037, "发送短信异常,%s."),
    AIREXPRESS_ORDER_60038(60038, "提交订单失败,定时任务异常"),

    /**
     * 主数据  4000起
     */
    MAINDATA_4018(4018, "新增主数据失败，该资源已存在"),
    MAINDATA_4019(4019, "删除主数据失败，该资源不存在"),
    MAINDATA_4020(4020, "更新主数据失败，该资源不存在"),
    MAINDATA_4021(4021, "更新主数据失败，该资源已被删除"),
    MAINDATA_4022(4022, "更新主数据失败"),
    MAINDATA_4023(4023, "查询主数据失败，该资源不存在"),
    MAINDATA_4024(4024, "更新主数据失败，该目的地已存在"),
    MAINDATA_4025(4025, "更新主数据失败，年齡區間存在衝突"),
    MAINDATA_4026(4026, "外挂系统不存在"),
    MAINDATA_4027(4027, "编码已经存在"),
    MAINDATA_4028(4028, "新增主数据失败"),
    MAINDATA_4029(4029, "该类型的主数据已存在，请勿重复操作"),

    /**
     * 门票  5000起
     */
    SCENIC_5000(5000, "新增门票失败，成本编码已存在"),
    SCENIC_5001(5001, "支付失败，输入收款总金额与总应收金额不一致"),
    SCENIC_5002(5002, "该时间没没产品"),
    SCENIC_5003(5003, "请选择加幅类型"),
    SCENIC_5004(5004, "请请选择是否设置限购"),
    SCENIC_5005(5005, "查询失败，未查询到景点门票成本价"),
    SCENIC_5006(5006, "查询失败，请确认是否有成本或增幅策略！"),
    SCENIC_5007(5007, "查询失败,未找到相关数据！"),
    SCENIC_5008(5008, "未找到當前時間該產品的成本策略！"),
    SCENIC_5009(5009, "未找到當前時間該產品的增幅策略！"),
    SCENIC_5010(5010, "當前產品配置的增幅策略并沒有包含當前用戶及當前用戶部門！"),
    SCENIC_5011(5011, "當前產品增幅策略配置為自營禁售！"),
    SCENIC_5012(5012, "當前產品增幅策略配置為代理禁售！"),
    SCENIC_5013(5013, "當前產品沒有配置該第三方平臺！"),
    SCENIC_5014(5014, "加幅策略配置自营未找到该内部人员！"),
    SCENIC_5015(5015, "加幅策略配置自营未找到该部門！"),
    SCENIC_5016(5016, "订单不存在！"),
    SCENIC_5017(5017, "当前时间超过支付期限时间."),
    SCENIC_5018(5018, "操作失败，门票收款明细不存在."),
    SCENIC_5019(5019, "操作失败，[%s]."),
    SCENIC_5020(5020, "當前產品沒有配置該綫上自營！"),
    SCENIC_5021(5021, "分销商余额不足，无法下单！"),
    SCENIC_5022(5022, "订单已付款"),
    SCENIC_5023(5023, "當前供應商已有該產品的記錄！"),
    SCENIC_5024(5024, "庫存/成本價/編號為空！"),
    SCENIC_5025(5025, "余票不足,创建订单失败！"),
    SCENIC_5026(5026, "备注不能超过300字符!"),


    /**
     * 大客户,供应商,代理商 6000起
     */
    BIG_CLIENT_6001(6001, "查询数据失败,此id没有数据"),
    BIG_CLIENBIG_CLIENT_6001T_6002(6002, "输入客户中英文名称已存在,请重新输入"),
    BIG_CLIENBIG_CLIENT_6001T_6003(6003, "输入代理商中英文名称已存在,请重新输入"),
    BIG_CLIENBIG_CLIENT_6001T_6004(6004, "输入供应商中英文名称已存在,请重新输入"),
    BIG_CLIENBIG_CLIENT_6001T_6005(6005, "系统编码已存在,请重新输入"),
    BIG_CLIENBIG_CLIENT_6001T_6006(6006, "不能修改状态"),

    /**
     * 审批流 7000起
     */
    WORKFLOW_APPROVAL_7001(7001, "当前用户没有可用审批，请在【系统管理-流程配置】设置"),
    WORKFLOW_APPROVAL_7002(7002, "该审批不存在"),
    WORKFLOW_APPROVAL_7003(7003, "当前审批步骤不存在"),
    WORKFLOW_APPROVAL_7004(7004, "当前步骤没有审批人"),
    WORKFLOW_APPROVAL_7005(7005, "您不在当前步骤审批人中"),
    WORKFLOW_APPROVAL_7006(7006, "请输入拒绝理由"),
    WORKFLOW_APPROVAL_7007(7007, "当前审批已进入审批流程,不能撤回"),
    WORKFLOW_APPROVAL_7008(7008, "当前审批您不是发起人,不能撤回"),
    WORKFLOW_APPROVAL_7009(7009, "您不是当前审批步骤的审批人,不能审批"),
    WORKFLOW_APPROVAL_7010(7010, "当前审批步骤已审批,不能重复操作"),
    WORKFLOW_APPROVAL_7011(7011, "动态审批人不能为空"),
    WORKFLOW_APPROVAL_7012(7012, "审批状态错误"),
    /**
     * 景点图片资源 8000起
     */
    SCENIC_PICTURES_8001(8001, "该地区不存在"),


    /**
     * 巴士
     */
    BUS_PRODUCT_9002(9002, "巴士票API初始设置入参为空"),
    BUS_PRODUCT_9003(9003, "巴士路线入参为空"),
    BUS_PRODUCT_9004(9004, "巴士产品信息入参为空"),
    BUS_PRODUCT_9005(9005, "巴士产品预订信息入参为空"),
    BUS_PRODUCT_9006(9006, "班次码或出发时间为空"),
    BUS_PRODUCT_9007(9007, "班次码和出发时间对应不正确"),
    BUS_PRODUCT_9008(9008, "巴士路线不存在"),
    BUS_PRODUCT_9009(9009, "巴士产品不存在"),
    BUS_PRODUCT_9010(9010, "非API产品不能进行API设置"),
    BUS_PRODUCT_9011(9011, "产品来源不相同不能进行批量设置"),
    BUS_PRODUCT_9012(9012, "最多推荐15个产品"),
    BUS_PRODUCT_9013(9013, "只有API产品 或已审批的人工录入产品才能设置有效"),
    BUS_PRODUCT_9014(9014, "产品加幅信息入参为空"),
    BUS_PRODUCT_9015(9015, "产品加幅信息入参ID为空"),
    BUS_PRODUCT_9016(9016, "四种渠道至少应有一个在售"),
    BUS_PRODUCT_9017(9017, "自定义权限勾选自定义渠道信息不能为空"),
    BUS_PRODUCT_9018(9018, "代理商权限勾选代理商渠道信息不能为空"),
    BUS_PRODUCT_9019(9019, "加幅策略有效期的开始时间必须小于结束时间."),
    BUS_PRODUCT_9020(9020, "加幅策略有效期的时间段不能重叠"),
    BUS_PRODUCT_9021(9021, "成本有效期的开始时间必须小于结束时间."),
    BUS_PRODUCT_9022(9022, "成本有效期的时间段不能重叠"),
    BUS_PRODUCT_9023(9023, "加幅策略有效期的开始时间不能小于当前日期校验."),
    BUS_PRODUCT_9024(9024, "成本有效期的开始时间不能小于当前日期校验"),
    BUS_PRODUCT_9025(9025, "审核通过修改:只能对已审核的产品进行修改"),
    BUS_PRODUCT_9026(9026, "审核不通过修改:只能对审批不通过的产品进行修改"),
    BUS_PRODUCT_9027(9027, "未审核通过的产品不允许加幅设置"),
    BUS_PRODUCT_9028(9028, "非待提交状态的产品不允许提交审批"),
    TRAIN_PRODUCT_9029(9029, "有效产品不允许进行修改"),
    TRAIN_PRODUCT_9030(9030, "该巴士产品已禁售."),
    BUS_PRODUCT_9031(9031, "巴士班次码已存在"),
    BUS_PRODUCT_9032(9032, "产品加幅策略不存在"),
    BUS_PRODUCT_9033(9033, "当前时间没有有效的加幅策略"),
    BUS_PRODUCT_9034(9034, "产品加幅渠道异常"),
    BUS_PRODUCT_9035(9035, "当前产品剩余票数key不存在"),
    BUS_PRODUCT_9036(9036, "当前产品剩余票数不足"),
    BUS_PRODUCT_9037(9037, "产品没有成本信息"),
    BUS_PRODUCT_9038(9038, "产品没有当前时间的有效成本"),

    BUS_ORDER_9001(9001, "巴士预订单外挂单入参为空"),
    BUS_ORDER_9002(9002, "巴士预订单主订单入参为空"),
    BUS_ORDER_9003(9003, "巴士预订单旅客信息入参为空"),
    BUS_ORDER_9004(9004, "支付失败，输入收款总金额与总应收金额不一致"),
    BUS_ORDER_9005(9005, "巴士票订单不存在"),
    BUS_ORDER_9006(9006, "巴士票订单旅客信息不存在"),
    BUS_ORDER_9007(9007, "巴士票订单退款明细不存在"),
    BUS_ORDER_9008(9008, "巴士票订单收款明细不存在"),
    BUS_ORDER_9009(9009, "当前时间超过支付期限时间."),
    BUS_ORDER_9010(9010, "订单已付款且预订成功不允许取消"),
    BUS_ORDER_9011(9011, "退款记录入参不能为空"),
    BUS_ORDER_9012(9012, "订单状态异常"),
    BUS_ORDER_9013(9013, "订单取消状态为审批成功，才可以做确认退款操作"),
    BUS_ORDER_9014(9014, "收款记录必须是驳回状态，才能再次确认."),
    BUS_ORDER_9015(9015, "审批失败状态的退款记录才可以删除"),
    BUS_ORDER_9016(9016, "API巴士锁位失败"),
    BUS_ORDER_9017(9017, "API巴士出票失败"),
    BUS_ORDER_9018(9018, "API巴士取消订单失败"),
    BUS_ORDER_9019(9019, "订票数量大于可售数量."),
    BUS_ORDER_9020(9020, "巴士票外挂单不存在"),
    BUS_ORDER_9021(9021, "最大可售数已超过库存数"),
    BUS_ORDER_9022(9022, "非代理客户或大客户，不能走挂账"),
    BUS_ORDER_9023(9023, "出发日期小于当前日期"),
    BUS_ORDER_9024(9024, "未找到对应收款记录"),


    HOTEL_10011(10011, "用户参数为空"),
    HOTEL_10010(10010, "没有查询到酒店数据"),
    HOTEL_NULL_10012(10012, "数据为空"),
    HOTEL_10013(10013, "没有查询到酒店成本数据"),
    HOTEL_10014(10014, "没有查询到酒店产品数据"),
    HOTEL_10015(10015, "审核不通过修改:只能对审批不通过的产品进行修改"),
    HOTEL_10016(10016, "只有API产品 或已审批的人工录入产品才能设置有效"),
    HOTEL_10017(10017, "产品加幅信息入参为空"),
    HOTEL_10018(10018, "四种渠道至少应有一个在售"),
    HOTEL_10019(10019, "自定义权限勾选自定义渠道信息不能为空"),
    HOTEL_10020(10020, "代理商权限勾选代理商渠道信息不能为空"),
    HOTEL_10021(10021, "加幅策略有效期的开始时间不能小于当前日期校验."),
    HOTEL_10022(10022, "加幅策略有效期的开始时间必须小于结束时间."),
    HOTEL_10023(10023, "加幅策略有效期的开始时间必须小于结束时间."),
    HOTEL_10024(10024, "加幅策略有效期的时间段不能重叠"),
    HOTEL_10025(10025, "未审核通过的产品不允许加幅设置"),
    HOTEL_10026(10026, "产品加幅信息入参ID为空"),

    HOTEL_10027(10027, "酒店预订单外挂单入参为空"),
    HOTEL_10028(10028, "酒店预订单主订单入参为空"),
    HOTEL_10029(10029, "酒店预订单旅客信息入参为空"),
    HOTEL_10030(10030, "支付失败，输入收款总金额与总应收金额不一致"),
    HOTEL_10031(10031, "酒店订单不存在"),
    HOTEL_10032(10032, "酒店票订单旅客信息不存在"),
    HOTEL_10033(10033, "酒店订单退款明细不存在"),
    HOTEL_10034(10034, "酒店订单收款明细不存在"),
    HOTEL_10035(10035, "产品代码为空"),
    HOTEL_10036(10036, "开始时间为空"),
    HOTEL_10037(10037, "结束时间为空"),
    HOTEL_10038(10038, "酒店产品"),
    HOTEL_10039(10039, "酒店产品"),
    HOTEL_10040(10040, "酒店产品已存在"),
    HOTEL_10041(10041, "西敏酒店code不存在"),
    HOTEL_10042(10042, "长隆产品产品代码不存在"),
    HOTEL_10043(10043, "查询接口失败！"),
    HOTEL_10044(10044, "此产品今日没有价格信息！"),
    HOTEL_10045(10045, "酒店成本信息日期重合！"),
    HOTEL_10046(10046, "酒店预订设置信息为空！"),
    HOTEL_10047(10047, "酒店预订设置产品ID信息为空！"),
    HOTEL_10048(10048, "没有查到有关酒店产品信息！"),
    HOTEL_10049(10049, "酒店产品不存在！"),
    HOTEL_10050(10050, "长隆订单创建接口调用失败！"),
    HOTEL_10051(10051, "长隆订单取消接口调用失败！"),
    HOTEL_10052(10052, "产品入参信息为空！"),
    HOTEL_10053(10053, "成本有效期的开始时间不能小于当前日期校验"),
    HOTEL_10054(10054, "审核通过修改:只能对已审核的产品进行修改"),
    HOTEL_10055(10055, "审核不通过修改:只能对审批不通过的产品进行修改"),
    HOTEL_10056(10056, "未审核通过的产品不允许加幅设置"),
    HOTEL_10057(10057, "非待提交状态的产品不允许提交审批"),
    HOTEL_10058(10058, "有效产品不允许进行修改"),
    HOTEL_10059(10059, "该酒店产品已禁售."),
    HOTEL_10060(10060, "成本有效期的时间段不能重叠"),
    HOTEL_10061(10061, "没有获取到西敏酒店静态信息"),
    HOTEL_10062(10062, "产品来源不相同不能进行批量设置"),
    HOTEL_10063(10063, "非API产品不能进行API设置"),
    HOTEL_10064(10064, "成本有效期的开始时间必须小于结束时间."),
    HOTEL_10065(10065, "产品不存在."),
    HOTEL_10066(10066, "产品ID未关联到酒店，查询错误"),
    HOTEL_10067(10067, "产品ID未关联到酒店房型，查询错误"),
    HOTEL_10068(10068, "產品編號或日期參數爲空，操作失敗"),
    HOTEL_10069(10069, "产品编号参数为空，操作失敗"),
    HOTEL_10070(10070, "产品价格日期参数为空，操作失敗"),
    HOTEL_10071(10071, "产品价格日期不存在，操作失敗"),
    HOTEL_10072(10072, "酒店已禁售"),
    HOTEL_10073(10073, "订票数量大于可售数量"),
    HOTEL_10074(10074, "使用的会员积分必须大于0."),
    HOTEL_10075(10075, "查询CRM会员积分异常."),
    HOTEL_10076(10076, "会员积分不足."),
    HOTEL_10077(10077, "获取汇率失败."),
    HOTEL_10078(10078, "支付超时"),
    HOTEL_10079(10079, "币种不能为空."),
    HOTEL_10080(10080, "支付价格小于应收价格."),
    HOTEL_10081(10081, "旅客信息数与房间数不匹配"),
    HOTEL_10082(10082, "订单信息不存在"),
    HOTEL_10083(10083, "修改订单失败！"),
    HOTEL_10084(10084, "退款明细不能为空"),
    HOTEL_10085(10085, "已取消订单不能重复取消"),
    HOTEL_10086(10086, "当前订单在进行退款审批中,暂不可取消"),
    HOTEL_ORDER_REFUND_10087(10087, "只有退款方式为现金的方可操作确认退款"),
    HOTEL_ORDER_REFUND_10088(10088, "该退款单审批尚未通过"),
    HOTEL_API_10089(10089, "酒店数据拉取失败"),
    HOTEL_10090(10090, "房间必选"),
    HOTEL_10091(10091, "预订服务费类型必选"),
    HOTEL_10092(10092, "预订服务费不能为空"),
    HOTEL_10093(10093, "退改手续费类型必选"),
    HOTEL_10094(10094, "退改手续费不能为空"),
    HOTEL_10095(10095, "税费与其他费用不能为空"),
    HOTEL_API_10096(10096, "酒店下单失败"),
    HOTEL_10097(10097, "预订类型必选"),
    HOTEL_10098(10098, "取消政策必选"),
    HOTEL_10099(10099, "酒店最少需要预订1晚"),
    HOTEL_10100(10100, "酒店最多支持预订28晚"),
    HOTEL_10101(10101, "下单失败：%s"),


    /**
     * 船票
     */
    SHIP_PRODUCT_11001(11001, "航線+艙位+班次碼+供應商不能重複存在"),
    SHIP_PRODUCT_11002(11002, "船票產品入參數據為空"),
    SHIP_PRODUCT_11003(11003, "船票产品航次碼不能重複存在"),
    SHIP_PRODUCT_11004(11004, "船種名稱+航次碼+開船时间不能重複存在"),
    SHIP_PRODUCT_11005(11005, "成本有效期時間重複存在"),
    SHIP_PRODUCT_11006(11006, "船票產品不存在"),
    SHIP_PRODUCT_11007(11007, "航線名稱不能為空"),
    SHIP_PRODUCT_11008(11008, "出發城市不能為空"),
    SHIP_PRODUCT_11009(11009, "到達城市不能為空"),
    SHIP_PRODUCT_11010(11010, "船艙等級不能為空"),
    SHIP_PRODUCT_11011(11011, "旅客類型不能為空"),
    SHIP_PRODUCT_11012(11012, "出發地不能為空"),
    SHIP_PRODUCT_11013(11013, "到達地不能為空"),
    SHIP_PRODUCT_11014(11014, "船公司不能為空"),
    SHIP_PRODUCT_11015(11015, "航線入參數據為空"),
    SHIP_PRODUCT_11016(11016, "产品加幅信息入参为空"),
    SHIP_PRODUCT_11017(11017, "产品加幅信息入参ID为空"),
    SHIP_PRODUCT_11018(11018, "四种渠道至少应有一个在售"),
    SHIP_PRODUCT_11019(11019, "加幅策略有效期的开始时间不能小于当前日期校验."),
    SHIP_PRODUCT_11020(11020, "加幅策略有效期的开始时间必须小于结束时间."),
    SHIP_PRODUCT_11021(11021, "加幅策略有效期的时间段不能重叠"),
    SHIP_PRODUCT_11022(11022, "未审核通过的产品不允许加幅设置"),
    SHIP_PRODUCT_11023(11023, "产品加幅信息入参ID为空"),
    SHIP_PRODUCT_11024(11024, "餘票不足"),
    SHIP_PRODUCT_11025(11025, "船票预订单外挂单入参为空"),
    SHIP_PRODUCT_11026(11026, "船票预订单主订单入参为空"),
    SHIP_PRODUCT_11027(11027, "船票预订单旅客信息入参为空"),
    SHIP_PRODUCT_11028(11028, "当前时间超过支付期限时间."),
    SHIP_PRODUCT_11029(11029, "支付失败，输入收款总金额与总应收金额不一致"),
    SHIP_PRODUCT_11030(11030, "订单已付款且预订成功不允许取消"),
    SHIP_PRODUCT_11031(11031, "退款记录入参不能为空"),
    SHIP_PRODUCT_11032(11032, "船票订单不存在"),
    SHIP_PRODUCT_11033(11033, "订单取消状态为审批成功，才可以做确认退款操作"),
    SHIP_PRODUCT_11034(11034, "收款记录必须是驳回状态，才能再次确认."),
    SHIP_PRODUCT_11035(11035, "审批失败状态的退款记录才可以删除"),
    SHIP_PRODUCT_11036(11036, "船票订单收款明细不存在"),
    SHIP_PRODUCT_11037(11037, "收款记录必须是驳回状态，才能再次确认."),
    SHIP_PRODUCT_11038(11038, "通用錯誤碼"),
    SHIP_PRODUCT_11039(11039, "保存失敗"),
    SHIP_PRODUCT_11040(11040, "珠江船票座位释放失败"),
    SHIP_PRODUCT_11041(11041, "珠江船票座位确认失败"),
    SHIP_PRODUCT_11042(11042, "财务系统发生异常,失败原因:[%s]"),
    SHIP_PRODUCT_11043(11043, "入参审批状态不能为空"),
    SHIP_PRODUCT_11044(11044, "单程票出发日期不能为空"),
    SHIP_PRODUCT_11045(11045, "往返票出发日期和返程日期不能为空"),
    SHIP_PRODUCT_11046(11046, "审批操作传参错误"),
    SHIP_PRODUCT_11047(11047, "订单没有退款记录"),
    SHIP_PRODUCT_11048(11048, "订单没有收款记录"),
    SHIP_PRODUCT_11049(11049, "非审批不通过的退款记录不能删除"),
    SHIP_PRODUCT_11050(11050, "收款金额不足以支付订单"),
    SHIP_PRODUCT_11051(11051, "今日可售票已卖完"),
    SHIP_PRODUCT_11052(11052, "当前渠道未制定成本价"),
    SHIP_PRODUCT_11053(11052, "当前渠道未制定加辐"),

    /**
     * 机票产品
     */
    AIR_PRODUCT_12001(12001, "机票产品已存在"),
    AIR_PRODUCT_12002(12002, "机票成本信息日期重合"),
    AIR_PRODUCT_12003(12003, "开售类型为定时开售必须输入开始结束时间"),
    AIR_PRODUCT_12004(12004, "机票产品不存在"),
    AIR_PRODUCT_12005(12005, "机票产品正在审批中,不能修改"),
    AIR_PRODUCT_12006(12006, "审批未通过,不能设置为可售卖"),
    AIR_PRODUCT_12007(12007, "上架设置,至少设置一个渠道"),
    AIR_PRODUCT_12008(12008, "上架策略必须设置时间段"),
    AIR_PRODUCT_12009(12009, "自营非禁售时,必须设置一个策略信息"),
    AIR_PRODUCT_12010(12010, "代理商非禁售时,必须设置一个策略信息"),
    AIR_PRODUCT_12011(12011, "上架策略不能为空"),
    AIR_PRODUCT_12012(12012, "渠道加幅类型不能空"),
    AIR_PRODUCT_12013(12013, "渠道加幅不能为空"),
    AIR_PRODUCT_12014(12014, "去程優惠不能為空,若無請填0"),
    AIR_PRODUCT_12015(12015, "返程優惠不能為空,若無請填0"),
    AIR_PRODUCT_12016(12016, "可售數量類型不能為空"),
    AIR_PRODUCT_12017(12017, "限制最大可售數時,可售數不能為空"),
    AIR_PRODUCT_12018(12018, "旅客類型:[%]的稅費為空"),
    AIR_PRODUCT_12019(12019, "旅客類型:[%]--[%]為空"),
    AIR_PRODUCT_12020(12020, "必填旅客类型为空"),
    AIR_PRODUCT_12021(12021, "旅客未设置成本,不能售卖!"),
    AIR_PRODUCT_12022(12022, "机票产品已被禁售"),
    AIR_PRODUCT_12023(12023, "航班信息不存在"),
    AIR_PRODUCT_12024(12024, "该航班不支持该舱位"),
    AIR_PRODUCT_12025(12025, "机票无可用成本"),
    AIR_PRODUCT_12026(12026, "机票未设置上架策略"),
    AIR_PRODUCT_12027(12027, "旅客[%s]无可用成本"),
    AIR_PRODUCT_12028(12028, "预订设置为空"),
    AIR_PRODUCT_12029(12029, "预订时间不能在今天之前"),

    /**
     * 供应商预订 13000起
     */
    SUPPLIER_BOOKING_OUT_AIR_13001(13001, "机票出行列表不能为空"),
    SUPPLIER_BOOKING_OUT_AIR_13002(13002, "机票信息不存在"),
    SUPPLIER_BOOKING_OUT_TRAIN_13101(13101, "火车票票信息不存在"),
    SUPPLIER_BOOKING_OUT_SHIP_13201(13201, "船票票信息不存在"),
    SUPPLIER_BOOKING_OUT_FOOD_13301(13301, "餐饮信息不存在"),
    SUPPLIER_BOOKING_OUT_CAR_13401(13401, "出租车信息不存在"),
    SUPPLIER_BOOKING_OUT_HOTEL_13501(13501, "酒店信息不存在"),
    SUPPLIER_BOOKING_OUT_OTHER_13601(13601, "综费信息不存在"),
    SUPPLIER_BOOKING_13701(13701, "订单状态异常"),
    SUPPLIER_BOOKING_13702(13702, "供应商服务异常"),
    SUPPLIER_BOOKING_13703(13703, "供应商审批状态为待审批才可以提交审批"),
    SUPPLIER_BOOKING_UNSUBSCRIBE_13901(13901, "退订单是未对账状态的，才允许编辑"),
    SUPPLIER_BOOKING_UNSUBSCRIBE_13902(13902, "总计金额必须大于等于0"),
    SUPPLIER_BOOKING_UNSUBSCRIBE_13903(13903, "供应商退订记录不存在"),


    /**
     * 火车 14001起
     */
    TRAIN_PRODUCT_14001(14001, "火车车次信息为空"),
    TRAIN_PRODUCT_14002(14002, "火车票产品信息入参为空"),
    TRAIN_PRODUCT_14003(14003, "火车票产品预订信息入参为空"),
    TRAIN_PRODUCT_14004(14004, "火车票产品信息不存在"),
    TRAIN_PRODUCT_14005(14005, "非待提交状态的产品不允许提交审批"),
    TRAIN_PRODUCT_14006(14006, "审核通过修改:只能对已审核的产品进行修改"),
    TRAIN_PRODUCT_14007(14007, "有效产品不允许进行修改"),
    TRAIN_PRODUCT_14008(14008, "审核不通过修改:只能对审批不通过的产品进行修改"),
    TRAIN_PRODUCT_14009(14009, "非API产品不能进行API设置"),
    TRAIN_PRODUCT_14010(14010, "只有API产品 或已审批的人工录入产品才能设置有效"),
    TRAIN_PRODUCT_14011(14011, "产品来源不相同不能进行批量设置"),
    TRAIN_PRODUCT_14012(14012, "未审批通过的人工录入产品不能进行批量设置"),
    TRAIN_PRODUCT_14013(14013, "四种渠道至少应有一个在售"),
    TRAIN_PRODUCT_14014(14014, "加幅策略有效期的开始时间必须小于结束时间."),
    TRAIN_PRODUCT_14015(14015, "加幅策略有效期的时间段不能重叠"),
    TRAIN_PRODUCT_14016(14016, "开始日期不能小于当前日期"),
    TRAIN_PRODUCT_14017(14017, "未审核通过的人工录入产品不允许加幅设置"),
    TRAIN_PRODUCT_14018(14018, "当前时间超过支付期限时间."),
    TRAIN_PRODUCT_14019(14019, "支付失败，输入收款总金额与总应收金额不一致"),
    TRAIN_PRODUCT_14020(14020, "火车票订单不存在"),
    TRAIN_PRODUCT_14021(14021, "订单已付款且预订成功不允许取消"),
    TRAIN_PRODUCT_14022(14022, "退款记录入参不能为空"),
    TRAIN_PRODUCT_14023(14023, "火车票订单旅客信息不存在"),
    TRAIN_PRODUCT_14024(14024, "订单取消状态为审批成功，才可以做确认退款操作"),
    TRAIN_PRODUCT_14025(14025, "火车票订单退款明细不存在"),
    TRAIN_PRODUCT_14026(14026, "火车票订单收款明细不存在"),
    TRAIN_PRODUCT_14027(14027, "收款记录必须是驳回状态，才能再次确认."),
    TRAIN_PRODUCT_14028(14028, "审批失败状态的退款记录才可以删除"),
    TRAIN_PRODUCT_14029(14029, "火车站点三字码不存在"),
    TRAIN_PRODUCT_14030(14030, "车次时间获取失败"),
    TRAIN_PRODUCT_14031(14031, "预订设置为空的产品不允许提交审批"),
    TRAIN_PRODUCT_14032(14032, "产品没有当前时间的有效成本"),
    TRAIN_PRODUCT_14033(14033, "退款金额不能大于付款金额"),
    TRAIN_PRODUCT_14034(14034, "火车票支付失败 状态:[%], 单号:[%]"),
    TRAIN_PRODUCT_14035(14035, "火车票产品手续费设置异常"),
    TRAIN_PRODUCT_14036(14036, "api产品不存在"),
    TRAIN_PRODUCT_14037(14037, "旅客类型不能为空"),


    /**
     * 套票管理
     */
    SEASON_TICKET_20001(20001, "固定套票产品编码不能重复"),
    SEASON_TICKET_20002(20002, "添加固定套票入参为空"),
    SEASON_TICKET_20003(20003, "固定套票产品编号不能为空"),
    SEASON_TICKET_20004(20004, "获取固定套票产品失败"),
    SEASON_TICKET_20005(20005, "固定套票产品id有误"),
    SEASON_TICKET_20006(20006, "获取固定套票打包产品失败"),
    SEASON_TICKET_20007(20007, "固定套票加幅策略入参为空"),
    SEASON_TICKET_20008(20008, "固定套票产品未审核通过或失效"),
    SEASON_TICKET_20009(20009, "线下渠道，自营渠道设置值不能为空"),
    SEASON_TICKET_20010(20010, "线下渠道，代理商设置值不能为空"),
    SEASON_TICKET_20011(20011, "查询汇率失败"),
    SEASON_TICKET_20012(20012, "查询动态套票失败"),
    SEASON_TICKET_20013(20013, "没有填写保单信息或保单信息缺失"),
    SEASON_TICKET_20014(20014, "被保旅客信息不存在"),
    SEASON_TICKET_20015(20015, "保险数量或者保险金额不对"),
    SEASON_TICKET_20016(20016, "套票金额不对,请重新选择产品"),
    SEASON_TICKET_20017(20017, "获取订单信息失败"),
    SEASON_TICKET_20018(20018, "收款方式入参为空"),
    SEASON_TICKET_20019(20019, "套票 当前时间超过支付期限时间"),
    SEASON_TICKET_20020(20020, "套票 支付失败，输入收款总金额与总应收金额不一致"),
    SEASON_TICKET_20021(20021, "套票订单不存在"),
    SEASON_TICKET_20022(20022, "订单已付款,无法直接取消订单"),
    SEASON_TICKET_20023(20023, "套票退款条款为 不退不改,因为无法取消订单"),
    SEASON_TICKET_20024(20024, "套票退款不存在"),
    SEASON_TICKET_20025(20025, "订单退款方式不是现金,不能进行退款"),
    SEASON_TICKET_20026(20026, "门票数量超出4张"),
    SEASON_TICKET_20027(20027, "不能重复报名"),
    SEASON_TICKET_20028(20028, "身份证号格式错误"),
    SEASON_TICKET_20029(20029, "联络电话格式错误"),
    SEASON_TICKET_20030(20030, "电子邮箱格式错误"),
    SEASON_TICKET_20031(20031, "订单付款状态不为待付款,不能修改旅客信息"),
    SEASON_TICKET_20032(20032, "调用印花税服务出错了"),
    SEASON_TICKET_20033(20033, "身份证号已重复，请重新输入"),
    SEASON_TICKET_20034(20034, "联络电话已重复，请重新输入"),
    SEASON_TICKET_20035(20035, "购票上限最多选择4项项目"),
    SEASON_TICKET_20036(20036, "动态套票下单或支付失败"),
    SEASON_TICKET_20037(20037, "动态套票下单系统取消"),
    SEASON_TICKET_20038(20038, "暂无报名信息"),

    /**
     * 签证订单 25000起
     */
    VISA_ORDER_25001(25001, "实收金额不能小于应收金额"),
    VISA_ORDER_25002(25002, "应收金额未获取到"),
    VISA_ORDER_25003(25003, "实收金额未获取到"),
    VISA_ORDER_25004(25004, "正在取消訂單，請忽重複提交"),
    VISA_ORDER_25005(25005, "訂單不存在"),
    VISA_ORDER_25006(25006, "退款記錄不能為空"),
    VISA_ORDER_25007(25007, "旅客列表不存在"),
    VISA_ORDER_25008(25008, "订单的取消状态不是审批中，无法进行审批."),
    VISA_ORDER_25009(25009, "订单没有退款记录."),
    VISA_ORDER_25010(25010, "审批的退款金额记录不能为空."),
    VISA_ORDER_25011(25011, "签证币种不能为空."),
    VISA_ORDER_25012(25012, "签证资源产品不存在"),
    VISA_ORDER_25013(25013, "签证委托类型不存在"),
    VISA_ORDER_25014(25014, "签证资源不存在"),
    VISA_ORDER_20015(20015, "提交订单失败,定时任务异常"),
    VISA_ORDER_20016(20016, "签证产品编号不存在"),
    VISA_ORDER_20017(20017, "供应商ID不能为空"),

    /**
     * 机票订单  15000起
     */
    AIR_ORDER_15000(15000, "机票订单不存在"),
    AIR_ORDER_15001(15001, "收款金额不足以支付订单"),
    AIR_ORDER_15002(15002, "订单还未确认,无法取消"),
    AIR_ORDER_15003(15003, "使用银联优惠,必须传入优惠银联id"),
    AIR_ORDER_15004(15004, "当前订单状态无法退款"),
    AIR_ORDER_15005(15005, "没有填写保单信息或保单信息缺失"),
    AIR_ORDER_15006(15005, "被保旅客信息不存在"),
    AIR_ORDER_15007(15007, "订单已付款,无法直接取消订单"),
    AIR_ORDER_15008(15008, "退款申请未通过,无法确认退款"),
    AIR_ORDER_15009(15009, "产品不足,下单失败"),
    AIR_ORDER_15010(15010, "价格已失效,请刷新后重新进入"),
    AIR_ORDER_15011(15011, "币种[%s]汇率不存在"),
    AIR_ORDER_15012(15012, "旅客信息不存在"),
    AIR_ORDER_15013(15013, "只有在订单待付款状态下可以修改旅客信息"),
    AIR_ORDER_15014(15014, "不支持的发送类型"),
    AIR_ORDER_15015(15015, "财务系统发生异常,失败原因:[%s]"),
    AIR_ORDER_15016(15016, "订单不存在"),
    AIR_ORDER_15017(15017, "订单非待预订状态,无法确认!"),
    AIR_ORDER_15018(15018, "错误的认款状态"),
    AIR_ORDER_15019(15019, "该支付明细不存在"),
    AIR_ORDER_15020(15020, "只有被驳回的收款才能再次确认"),
    AIR_ORDER_15021(15021, "该旅客不能购买该机票"),
    AIR_ORDER_15022(15022, "释放库存失败"),
    AIR_ORDER_15023(15023, "订单已经退款,无法再次操作!"),
    AIR_ORDER_15024(15024, "订单已付款,无法修改旅客信息!"),
    AIR_ORDER_15025(15025, "退款信息缺失"),
    AIR_ORDER_15026(15026, "机票产品信息异常"),
    AIR_ORDER_15027(15027, "供应商不存在"),
    AIR_ORDER_15028(15028, "旅客单价不存在"),
    AIR_ORDER_15029(15029, "错误的状态"),
    AIR_ORDER_15030(15030, "金额校验异常"),
    AIR_ORDER_15031(15031, "订单非待支付状态"),
    AIR_ORDER_15032(15032, "订单已经被取消"),
    /**
     * 证件办理  16000起
     */
    CERTIFICATE_BUSINESS_16000(16000, "证件名称已存在"),
    CERTIFICATE_BUSINESS_16001(16001, "可预约时间存在交集"),
    CERTIFICATE_BUSINESS_16002(16002, "剩余可预约数为0"),

    /**
     * 财务中心 17000起
     */
    FINANCE_ADVANCE_17000(17000, "可退預收[%s]餘額不足，請檢查。"),
    FINANCE_ADVANCE_17001(17001, "可退預收餘額不足，請檢查。"),
    FINANCE_ADVANCE_17002(17002, "预收记录不存在"),
    FINANCE_ADVANCE_17003(17003, "[%s]可退款金额不足"),
    FINANCE_ADVANCE_17004(17004, "退预收记录不存在"),
    FINANCE_ADVANCE_17005(17005, "退预收记录状态异常"),
    FINANCE_ADVANCE_17006(17006, "申请预收记录不存在"),
    FINANCE_ADVANCE_17007(17007, "申请预收记录状态异常"),
    FINANCE_BILL_17008(17008, "所选记录无符合该操作要求的数据"),
    FINANCE_BILL_17009(17009, "该认款单不存在"),
    FINANCE_BILL_17010(17010, "该对账单不存在"),
    FINANCE_BILL_17011(17011, "只有待提交和审批不通过的对账单才可以编辑"),
    FINANCE_BILL_17012(17012, "只有审批中状态才能审批"),
    FINANCE_BILL_17013(17013, "该挂账单不存在"),
    FINANCE_BILL_17014(17014, "该挂账申请记录不存在"),
    FINANCE_BILL_17015(17015, "该销账申请记录不存在"),
    FINANCE_BILL_17016(17016, "该客户不存在"),
    FINANCE_BILL_17017(17017, "挂账可用余额不足，当前可用余额：[%s]"),
    FINANCE_BILL_17018(17018, "认款单状态异常"),
    FINANCE_BILL_17019(17019, "特殊收款单状态异常"),
    FINANCE_BILL_17020(17020, "该特殊收款单不存在"),
    FINANCE_BILL_17021(17021, "审批不通过的记录才能删除"),
    FINANCE_BILL_17022(17022, "该客商期初不存在"),
    FINANCE_BILL_17023(17023, "所选记录暂无符合导出条件数据"),
    FINANCE_BILL_17024(17024, "上传文件内容为空或格式不正确"),
    FINANCE_CHARGE_17025(17025, "该供应商不存在"),
    FINANCE_CHARGE_17026(17026, "该预付申请记录不存在"),
    FINANCE_CHARGE_17027(17027, "该供应商对账记录不存在"),
    FINANCE_CHARGE_17028(17028, "只有待提交状态才能提交审批"),
    FINANCE_PAIDIN_17029(17029, "该供应商实付不存在"),
    FINANCE_ERROR_17030(17030, "该供应商期初不存在"),
    FINANCE_ERROR_17031(17031, "所选记录暂无符合条件数据"),
    FINANCE_ERROR_17032(17032, "该供应商暂无预付额度"),
    FINANCE_ERROR_17033(17033, "该认款驳回信息不存在"),
    FINANCE_ERROR_17034(17034, "未认款状态才能驳回"),
    FINANCE_ERROR_17035(17035, "未提交和审批不通过的记录才能删除"),
    FINANCE_ERROR_17036(17036, "无可用数据"),
    FINANCE_ERROR_17037(17037, "该印花税退款已入库，请勿重复操作"),
    FINANCE_ERROR_17038(17038, "只有被驳回的收款才能再次确认"),
    FINANCE_ERROR_17039(17039, "只有审批创建人才能撤回审批"),
    FINANCE_ERROR_17040(17040, "该订单(收款)未使用挂账支付"),
    FINANCE_ERROR_17041(17041, "暂无可用数据"),


    CERTIFICATE_BUSINESS_16003(16000, "可预约时间存在交集"),


    /**
     * 当地游玩  18000起
     */
    LOCAL_FUN_18000(18000, "新增当地游玩产品失败，成本编码已存在"),
    LOCAL_FUN_18001(18001, "支付失败，输入收款总金额与总应收金额不一致"),
    LOCAL_FUN_18002(18002, "新增当地玩乐产品失败，未配置成本策略"),
    LOCAL_FUN_18003(18003, "当地玩乐成本信息日期重合或者未设置成本有效期"),
    LOCAL_FUN_18004(18004, "當前用戶或部門成本策略設置有效期已過期"),
    LOCAL_FUN_18005(18005, "當地玩樂加幅策略或有效期個數超過5個"),
    LOCAL_FUN_18006(18006, "船票订单收款明细不存在"),
    LOCAL_FUN_18007(18007, "收款记录必须是驳回状态，才能再次确认."),
    LOCAL_FUN_18008(18008, "财务系统接口发生异常,失败原因:[%s]."),
    LOCAL_FUN_18009(18009, "可挂账额度不足."),
    LOCAL_FUN_18010(18010, "当地玩乐订单不存在."),
    LOCAL_FUN_18011(18011, "当地玩乐订单-订单超时API任务异常."),

    LOCAL_FUN_18012(18012, "当地订单正在退款审批或已完成退款审批."),
    LOCAL_FUN_18013(18013, "取消订单审批通过或正在审批中，不允许重复操作."),
    LOCAL_FUN_18014(18014, "退款金额不能大于应收金额."),
    LOCAL_FUN_18015(18015, "产品不存在"),
    LOCAL_FUN_18016(18016, "余票不足"),
    LOCAL_FUN_18017(18017, "订单支付失败"),
    LOCAL_FUN_18018(18018, "订单支付状态异常，未支付的订单才可以支付"),
    LOCAL_FUN_18019(18019, "用户为登录或查询编码为空，不能查询"),
    LOCAL_FUN_18020(18014, "检索条件入参为空"),
    LOCAL_FUN_18021(18021, "当地玩乐核对订单，缓存获取产品信息失败"),
    LOCAL_FUN_18022(18022, "当地玩乐核对订单，获取产品成本价失败"),
    LOCAL_FUN_18023(18023, "收款记录不存在"),
    LOCAL_FUN_18024(18024, "订单没有退款记录"),
    LOCAL_FUN_18025(18025, "退款ID不允许为空"),
    LOCAL_FUN_18026(18026, "未设置用户的加辐，无法找到对应的加辐项"),
    LOCAL_FUN_18027(18027, "未设置线上平台的加辐，无法找到对应的加辐项"),
    LOCAL_FUN_18028(18028, "渠道加辐,入库渠道ID不能为空"),
    LOCAL_FUN_18029(18029, "支付操作，订单编号不允许为空"),
    LOCAL_FUN_18030(18030, "非已取消的订单无法删除"),

    /**
     * ES_CRUD 19000起
     */
    ES_CREATE_INDEX_19000(19000, "ES创建索引失败"),
    ES_INDEX_NOT_FOUND_19001(19001, "ES索引不存在,请先创建索引"),
    ES_SELECT_INFO_19002(19002, "ES查询信息失败"),
    ES_MODIFY_INFO_19003(19003, "ES修改信息失败"),
    ES_IO_EXCEPTION_19004(19004, "ES操作出现IO异常"),
    ES_ADD_INFO_19005(19005, "ES新增检索信息存在失败情况"),
    ES_DELETE_INDEX_19006(19006, "ES删除索引失败"),
    ES_ADD_INFO_19007(19007, "ES新增检索信息失败"),
    ES_DEL_INFO_19008(19008, "ES删除文档存在失败情况"),
    ES_MODIFY_INFO_19009(19009, "ES更新检索信息存在失败情况"),
    ES_SEARCH_INFO_19010(19010, "检索信息失败"),

    /**
     * StarVip(星赏会接口)服务错误 20000起
     */
    STAR_VIP_20000(20000, "%s"),
    STAR_VIP_20001(20001, "会员密码重置失败"),
    STAR_VIP_20002(20002, "会员密码修改失败"),
    STAR_VIP_20003(20003, "用户不存在"),
    STAR_VIP_20004(20004, "该用户不属于会员"),
    STAR_VIP_20005(20005, "会员可用积分不足"),
    STAR_VIP_20006(20006, "积分扣除失败"),
    STAR_VIP_20007(20007, "会员信息查询失败"),
    STAR_VIP_20008(20008, "用户不是星赏会员，无法使用积分"),


    /**
     * Trip(行程)服务错误 21000起
     */
    TRIP_21001(21001, "没有存在行程的目的地"),
    TRIP_21002(21002, "需要更新的行程不存在"),
    TRIP_21003(21003, "查询的行程不存在"),
    /**
     * 支付服务错误 22000起
     */
    PAY_22000(22000, "该支付方式暂未开启"),
    PAY_22001(22001, "支付失败"),
    PAY_22002(22002, "保存支付记录失败"),
    PAY_22003(22003, "发起支付失败"),
    PAY_22004(22004, "支付订单不存在"),
    PAY_22005(22005, "签名校验失败"),
    PAY_22006(22006, "退款申请失败"),
    PAY_22007(22007, "该笔订单无法申请退款!"),
    PAY_22008(22008, "请求发送失败!"),
    PAY_22009(22009, "查询失败"),
    PAY_22010(22010, "退款申请失败,失败原因:[%s]"),
    PAY_22011(22011, "请勿重复申请退款"),
    PAY_22012(22012, "%s暂未开通线上退款"),
    PAY_22013(22013, "未查询到退款记录"),
    PAY_22014(22014, "请求失败:[%s]"),
    PAY_22015(22015, "金额校验异常"),
    PAY_22016(22016, "回调类型异常"),
    PAY_22017(22017, "订单校验异常"),
    PAY_22018(22018, "回调数据异常"),
    PAY_22019(22019, "订单已支付，请勿重复发起支付"),
    PAY_22020(22020, "发起支付失败，订单已取消"),
    PAY_22021(22021, "发起支付失败，订单已超时"),
    PAY_22022(22022, "订单ID不能为空"),
    /**
     * CMS系统
     */
    CMS_23000(23000, "新增失败"),
    CMS_23001(23001, "数据不存在"),
    CMS_23002(23002, "修改失败"),
    CMS_23003(23003, "编码重复"),
    CMS_23004(23004, "父分类不存在"),
    CMS_23005(23005, "分组id无效"),
    CMS_23006(23006, "链接类型不能为空"),
    CMS_23007(23007, "链接类型添加失败"),

    /**
     * 中旅到家-後台-商城商品-错误提示定义， 23000起
     */
    MALL_MERCHANDISE_23000(23000, "订单商品明细查询失败"),
    MALL_MERCHANDISE_23001(23001, "商品SKU库存不足"),
    MALL_MERCHANDISE_23002(23002, "根据商品ID獲取商品信息接口失败"),
    MALL_MERCHANDISE_23003(23003, "根据运费模板,获取运费金额失败"),
    MALL_MERCHANDISE_23004(23004, "模板查詢失敗，在數據庫中未找到此運費模板相關信息"),
    MALL_MERCHANDISE_23005(23005, "運費模板,計價方式為空,無法計算運費"),
    MALL_MERCHANDISE_23006(23006, "運費模板,沒有相關地區的運送價格模板"),
    MALL_MERCHANDISE_23007(23007, "超过指定长度"),
    MALL_MERCHANDISE_23008(23008, "名稱已存在,請從新輸入"),
    MALL_MERCHANDISE_23009(23009, "最多輸入2個規格,請從新輸入"),
    MALL_MERCHANDISE_23010(23010, "最多輸入10個字,請從新輸入"),
    MALL_MERCHANDISE_23011(23011, "錄入屬性最多為30個,請從新輸入!"),
    MALL_MERCHANDISE_23012(23012, "查找不到此商品信息"),
    MALL_MERCHANDISE_23013(23013, "提交審批流程失敗."),
    MALL_MERCHANDISE_23014(23014, "審批流程方法調用異常"),
    MALL_MERCHANDISE_23015(23015, "规格类型参数错误，请检查!"),
    MALL_MERCHANDISE_23016(23016, "可售區域不能為空"),
    MALL_MERCHANDISE_23017(23017, "商品規格數據不能為空"),
    MALL_MERCHANDISE_23018(23018, "商品圖片不能為空或大于5张图片"),
    MALL_MERCHANDISE_23019(23019, "商品推薦不能為空"),
    MALL_MERCHANDISE_23020(23020, "商品標籤不能為空"),
    MALL_MERCHANDISE_23021(23021, "商品关键词不能為空"),
    MALL_MERCHANDISE_23022(23022, "商品名稱不能為空或名稱長度不能大於80,請重新輸入"),
    MALL_MERCHANDISE_23023(23023, "商品介紹最多輸入300字,請重新輸入"),
    MALL_MERCHANDISE_23024(23024, "规格类型参数错误，请检查"),
    MALL_MERCHANDISE_23025(23025, "一級分類中該名稱已存在,請從新輸入"),
    MALL_MERCHANDISE_23026(23026, "請關聯上級分類"),
    MALL_MERCHANDISE_23027(23027, "該上級分類下,此名稱已存在,請從新輸入"),
    MALL_MERCHANDISE_23028(23028, "只有退款申请同意的数据才能确认退款"),
    MALL_MERCHANDISE_23029(23029, "该订单已经核销过,请确认"),
    MALL_MERCHANDISE_23030(23030, "核销码错误,请重新确认后输入"),
    MALL_MERCHANDISE_23031(23031, "專題商品最多只能選擇20件"),
    MALL_MERCHANDISE_23032(23032, "查詢異常,根據ID獲取商城專題對象為空"),
    MALL_MERCHANDISE_23033(23033, "商品订单不存在"),
    MALL_MERCHANDISE_23034(23034, "使用银联优惠,必须传入优惠银联id"),
    MALL_MERCHANDISE_23035(23035, "收款金额不足以支付订单"),
    MALL_MERCHANDISE_23036(23036, "未查询到小店信息"),
    MALL_MERCHANDISE_23037(23037, "支付超时定时任务启动失败"),
    MALL_MERCHANDISE_23038(23038, "当前时间超过支付期限时间"),
    MALL_MERCHANDISE_23039(23039, "未查询到订单收款记录"),
    MALL_MERCHANDISE_23040(23040, "商品订单收款记录必须是驳回状态，才能再次确认"),
    MALL_MERCHANDISE_23041(23041, "支付价格不能小于应收价格."),
    MALL_MERCHANDISE_23042(23042, "订单的取消状态不是审批中，无法进行审批."),
    MALL_MERCHANDISE_23043(23043, "该订单没有退款记录."),
    MALL_MERCHANDISE_23044(23044, "审批的退款金额记录不能为空."),
    MALL_MERCHANDISE_23045(23045, "订单商品手续费计算异常"),

    /**
     * 火车票订单  24000起
     */
    TRAIN_ORDER_24000(24000, "%s"),
    TRAIN_ORDER_24001(24001, "订单不存在"),
    TRAIN_ORDER_24002(24002, "当前时间超过支付期限时间"),



    /**
     * 中旅网APP 30000起
     */
    ZLW_CUSTOM_ERROR_30000(30000, "定制游下单失败"),
    ZLW_CUSTOM_ERROR_30001(30001, "该定制游订单不存在"),
    ZLW_TOUR_ERROR_30002(30002, "旅行团下单失败"),

    /**
     * 商城订单 4w开始
     */
    GOODS_ORDER_ERROR_40001(40001, "商品信息未找到"),
    GOODS_ORDER_ERROR_40002(40002, "商品分类信息未找到"),
    GOODS_ORDER_ERROR_40003(40003, "商品属性信息未找到"),
    GOODS_ORDER_ERROR_40004(40004, "商品分类信息未找到"),
    GOODS_ORDER_ERROR_40005(40005, "商品成本属性信息未找到"),
    GOODS_ORDER_ERROR_40006(40006, "商品区域信息未找到"),
    GOODS_ORDER_ERROR_40007(40007, "订单id不能为空"),
    GOODS_ORDER_ERROR_40008(40008, "不存在该订单的收货地址"),
    GOODS_ORDER_ERROR_40009(40009, "模板查詢失敗，未找到此短信模板相關信息"),
    GOODS_SHOP_ERROR_40010(40010, "未找到该手机号关联的小店信息"),
    GOODS_SHOP_ERROR_40011(40011, "登录失败，小店账户不存在或被禁用，请联系管理员"),
    GOODS_SHOP_ERROR_40012(40012, "登录失败，小店账户手机号非数字"),
    GOODS_SHOP_ERROR_40013(40013, "登录失败，小店账户邮箱不正确或编号长度超过20个字符者密码非手机号"),
    GOODS_SHOP_ERROR_40014(40014, "登录失败，小店账户编号长度不能超过20个字符"),
    GOODS_SHOP_ERROR_40015(40015, "登录失败，小店账户名称或者密码错误"),
    GOODS_SHOP_ERROR_40016(40016, "小店店铺业绩信息查询失败"),
    GOODS_ATTRIBUTE_ERROR_40017(40017, "商品规格属性已存在"),
    ;
    private Integer code;
    private String msg;

    SystemError(Integer code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    @Override
    public Integer getCode() {
        return code;
    }

    @Override
    public String getMsg() {
        return msg;
    }

    public static SystemError getDefined(Integer code) {
        for (SystemError err : SystemError.values()) {
            if (err.code.equals(code)) {
                return err;
            }
        }
        return SystemError.SYS_500;
    }

}
